#ifndef BARRIER_H
#define BARRIER_H

#include <QMainWindow>
#include <QObject>
#include <QWidget>
#include<qpainter.h>
#include<qstring.h>

class barrier
{
public:
    barrier();
    void paintEvent(QPaintEvent*event);
private slots:
    void Barrier_update();
private:
    QVector<QRect> vDesks;
    QTimer *timer1;//计时
};

#endif // BARRIER_H
